package com.commution.hit.action.basic;

import java.util.ArrayList;
import java.util.List;

import org.springframework.context.ApplicationContext;

import com.commution.hit.common.sys.BaseAction;
import com.commution.hit.domain.basic.User;
import com.commution.hit.service.impl.DoubanMovieSpaid;

public class UserAction extends BaseAction {

	private static final long serialVersionUID = 1454187186390907025L;
	
	private List<User> user=new ArrayList<User>();
	
	@Override
	public String execute(){
//		user.setUserCode(100240310l);
//		user.setUserName("刘范文");
//		user.setAddress("山东青岛");
//		user.setEmail("1019851086@qq.com");
//		user.setPhone(15621008328l);
//		user.setCompany("青鸟软通");
		 
		
		user=userService.getAllUser();
		
		return SUCCESS;
	}

	public List<User> getUser() {
		return user;
	}

	public void setUser(List<User> user) {
		this.user = user;
	}


	

}
